<?php
    class block_categorySlideBlock_controller extends controllerBase
    {
        public function process()
        {
            if(!caching::hasCache('aCategories'))
            {
                $aCategories = caching::createCacheMenu();       
            }
            else
            {
                $aCategories = caching::getCache('aCategories');
            }
            
            $this->aParams['aCategories'] = $aCategories['sub'];            
        }
    }
?>
